<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        var oen=prompt('请输入第一个值');
        var two=prompt('请输入第二个值');
        if(oen>two){
            alert(oen+'比'+two+'大');
        }else if(oen<two){
            alert(two+'比'+oen+'大');
        }else {
            alert('两个值相等');
        }
    </script>
</head>
<body>

</body>
</html>